package com.xiao.boot.dynamic.load.bean;

import com.rabbitmq.client.ConnectionFactory;

public class RabbitmqConfig {

	private String addresses;

	private String userName;

	private String password;

	private String virtualHost;

	private ConnectionFactory connectionFactory;

	public String getAddresses() {
		return addresses;
	}

	public void setAddresses(String addresses) {
		this.addresses = addresses;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getVirtualHost() {
		return virtualHost;
	}

	public void setVirtualHost(String virtualHost) {
		this.virtualHost = virtualHost;
	}

	public ConnectionFactory getConnectionFactory() {
		return connectionFactory;
	}

	public void setConnectionFactory(ConnectionFactory connectionFactory) {
		this.connectionFactory = connectionFactory;
	}

	@Override
	public String toString() {
		return "RabbitmqConfig [addresses=" + addresses + ", userName=" + userName + ", password=" + password
				+ ", virtualHost=" + virtualHost + ", connectionFactory=" + connectionFactory + "]";
	}

}
